﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.ComponentModel.DataAnnotations;

namespace VideoCache.Server.MVCWeb.Areas.Member.Models
{
    public class CompanyModel
    {
        [Display(Name = "商户名称")]
        [Required(ErrorMessage = "请填写商户名称。")]
        public string Name { get; set; }

        [Display(Name = "联系人")]
        [Required(ErrorMessage = "请填写联系人。")]
        public string ContactPerson { get; set; }

        [Display(Name = "所在省份")]
        [Required(ErrorMessage = "请选择所在省份。")]
        public string Province { get; set; }

        [Display(Name = "所在城市")]
        [Required(ErrorMessage = "请选择所在城市。")]
        public string City { get; set; }

        [Display(Name = "详细地址")]
        [Required(ErrorMessage = "请填写详细地址。")]
        public string Address { get; set; }

        [Display(Name = "联系电话")]
        [Required(ErrorMessage = "请填写联系电话。")]
        public string Telephone { get; set; }

        [Display(Name = "手机号码")]
        [Required(ErrorMessage = "手机号码。")]
        public string Mobile { get; set; }
    }
}